package neusoft.yuejian_11.viewHolder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import neusoft.yuejian_11.activity.RoundImageView;
import neusoft.yuejian_11.R;

/**
 * Created by NEUSOFT on 2017/9/28.
 */

public class PostListViewHolder extends RecyclerView.ViewHolder {
    public static ImageView imageView;
    public static RoundImageView  imageViewtx;
    public TextView posttitleView;
    public TextView postpersonView;
    public TextView postclubView;
    public  TextView posttimeView;

    public  View itemView;//添加监听器onclick
    public PostListViewHolder(View itemView) {
        super(itemView);
        this.itemView =itemView;
        imageView= (ImageView) itemView.findViewById(R.id.imageView);
        imageViewtx= (RoundImageView) itemView.findViewById(R.id.imageViewtx);
        posttitleView= (TextView) itemView.findViewById(R.id.textView_post_title);
        postpersonView= (TextView) itemView.findViewById(R.id.textView_post_person);
        postclubView= (TextView) itemView.findViewById(R.id.textView_post_club);
        posttimeView= (TextView) itemView.findViewById(R.id.textView_post_time);
    }
}
